/**
 * Created by Jay on 2016/6/8.
 */
$.ajax({
    url:"informController/getInformsByType",
    method: "get",
    data: {pageSize:10,pageNo:1,informType:2},
    success:function(data){
        //console.log(data);
    }
})
function report_info(){
    mccmsa.ajax({
        url:"informController/getInformsByType",
        method: "get",
        data: {pageSize:10,pageNo:1,informType:2},
        success:function (data) {
            //console.log(data);
            mccmsa.getHtmlFromLocalTemplate({   //将数据打包到模版丢进容器
                templateId: "userManagementTbody",
                container: $("#ColumnTableData_user_m"),
                data: data
            });
        }
    })
}
$("body").off();//解绑
$("body").on("click",".success_s",function(){
    var info_id=$(this).attr("info-id");
    delete_tips({
        url:"memberController/auditInformInfo",
        data:{informId:info_id,status:1},
        method:"get",
        content:"通过审核？",
        alert:"成功通过审核",
        alert_error:"出错了"
    })
})//通过的。。。。
$("body").on("click",".fail_s",function(){
    var info_id=$(this).attr("info-id");
    delete_tips({
        url:"memberController/auditInformInfo",
        data:{informId:info_id,status:2},
        method:"get",
        content:"不通过审核？",
        alert:"成功不通过审核",
        alert_error:"出错了"
    })
})